﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace B.S.DataBase.EFCoreServiers.Dtos.Depts
{
    public class UserDeptItemTree
    {
        public int DeptId { get; set; }
        public string DepartmentName { get; set; }
        public int? RoleId { get; set; }
        public string RoleName { get; set; }
        public List<UserInfo> Users { get; set; }
        public List<UserDeptItemTree> Children { get; set; }
    }

    public class UserInfo
    {
        public int UserId { get; set; }
        public string UserName { get; set; }
        public string RealName { get; set; }
    }
}
